package com.aps.entity.domain.device;

import com.aps.entity.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author liaoguangan
 * @description <设备类型>
 * @date 2018/4/1 14:23
 */

@Table(name = "aps_device_type")
@Entity
@Data
@ApiModel
public class DeviceType extends BaseEntity {

    @Column
    @ApiModelProperty("类型编码")
    private String code;

    @Column
    @ApiModelProperty("类型名称")
    private String name;

    @Column
    @ApiModelProperty("是否参与排程")
    private Boolean schedule;
}
